import React from "react";
import PubSub from 'pubsub-js'

import Button from "../../Button";


export default function DownLoad() {

    function download() {

        PubSub.publish('EV_FILE_DOWNLOAD')
    }



    return (
        <Button color={'blue'} icon={'icon-download'} plain onClick={ download } >下载</Button>
    )
}